<template>
  <div class="brand">
    <h3>品牌制造商直供</h3>
    <ul>
      <li v-for="item in brandList" :key="item.id">
        <img v-lazy="item.app_list_pic_url" alt="" />
        <p>
          {{ item.name }}
          <span>{{ item.floor_price | formatMoney }}</span>
        </p>
      </li>
    </ul>
  </div>
</template>
<script>
export default {
  name: "",
  props: ["brandList"],
  data() {
    return {};
  },
  computed: {},
  components: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style lang="less" scoped>
.brand {
  margin: 20px 0; 
  h3 {
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
  }
  ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: space-between;
    li {
      position: relative;
      width: 49%;
      padding-bottom: 5px;
      img {
        width: 100%;
      }
      p {
        font-size: 16px;
        position: absolute;
        top: 10px;
        left: 10px;
        span {
          display: block;
          color: #8b0000;
          padding-top: 10px;
        }
      }
    }
  }
}
</style>
